<ion-header>
  <ion-navbar>
    <ion-title>
      GTI
    </ion-title>
  </ion-navbar>
  <ft-menu [menu]="menus" (changed)="menuChanged($event)"></ft-menu>
</ion-header>

<ion-content>
<ion-refresher (ionRefresh)="doRefresh($event)">
      <ion-refresher-content></ion-refresher-content>
    </ion-refresher>
  <div class="ft-tab-resources" >
    
    <div class="ft-resources-list" *ngIf="group==2">
      <ion-list>
        <ion-item *ngFor="let item of resourcesWhitePaper" (click)='toFile(item.id,item.classid)'>
          <div class="ft-list" >
            <div class="ft-list-img" *ngIf="item.titlepic"><img [src]="fuwu+item.titlepicurl"></div>
            <div class="ft-list-name">
              <div class="ft-list-title">
                <b [innerHtml]="item.title"></b></div>
              <div class="ft-list-text" [innerHtml]="item.smalltext"></div>
            </div>
          </div>

         
        </ion-item>
      </ion-list>
    </div>
    <div class="ft-resources-list" *ngIf="group==0">
      <ion-list>
        <ion-item *ngFor="let item of resourcesWhitePaper3" (click)='toFiles(item)'>
          <div class="ft-list" >
            <div class="ft-list-img" *ngIf="item.image"><img [src]="item.image|ftImage"></div>
            <div class="ft-list-name">
              <div class="ft-list-title">
                <b [innerHtml]="item.title"></b></div>
              <div class="ft-list-text" [innerHtml]="item.smalltext"></div>
            </div>
          </div>

         
        </ion-item>
      </ion-list>
    </div>
     <div class="ft-resources-list-1" *ngIf="group==1">
     <div class="ft-list-a" *ngFor="let item of result1" (click)="fenzu(item.title)" >
            <div class="ft-list-name"><img [src]="item.image|ftImage">
              <div class="ft-list-title"><b [innerHtml]="item.tit"></b></div>
            </div>
          </div>
        
          <!--<div class="ft-list-a" (click)='fenzu("16th+GTI+Workshop")' tappable>
            <div class="ft-list-name"><img src="asset/img/16.jpg">
              <div class="ft-list-title"><b>16th GTI Workshop</b></div>
            </div>
          </div>
        
        
          <div class="ft-list-a" (click)='fenzu("15th+GTI+Workshop")' tappable>
            <div class="ft-list-name"><img src="asset/img/15.jpg">
              <div class="ft-list-title"><b>15th GTI Workshop</b></div>
            </div>
          </div>
       
          <div class="ft-list-a" (click)='fenzu("14th+GTI+Workshop")' tappable>
            <div class="ft-list-name"><img src="asset/img/14.jpg">
              <div class="ft-list-title"><b>14th GTI Workshop</b></div>
            </div>
          </div>-->
        
     
    </div>
  </div>
  
  <ion-infinite-scroll (ionInfinite)="doInfinite($event)" *ngIf="group!=2">
    <ion-infinite-scroll-content></ion-infinite-scroll-content>
  </ion-infinite-scroll>
</ion-content>